<?php

	//ACCESO FreeHostia
	$dbhost="mysql2.freehostia.com";
	$dbuser="davfer25_sx";
	$dbpass="s0mxarxa";
	$dbname="davfer25_sx";



	if (!($link =  mysql_connect($dbhost, $dbuser, $dbpass))){
		echo "Error conectando base de datos";
		exit();
	}

	if (!mysql_select_db($dbname, $link)){
		echo "Error seleccionando la base de datos";
		exit();
	}


	mysql_query("SET NAMES utf8");

?>